const http = uni.$u.http

const api = {
	list:'/api/miniapp/member/invite.php?act=list',
	add:'/api/miniapp/member/invite.php?act=add',
	get_interested_in_event_member:'/api/miniapp/member/get_interested_in_event_member.php',
}

export const list = (params, config) => http.post(api.list,params, {
	custom: {
		toast: false
	},
	
	...config
})

//获取对这类型活动感兴趣的用户
export const get_interested_in_event_member = (params, config) => http.post(api.get_interested_in_event_member,params, {
	custom: {
		toast: false
	},
	
	...config
})

export const add = (params,config) => http.post(api.add,params, {
	custom: {
		toast: false
	},
	
	...config
})

